import traininventory from "@/assets/traininventory.svg"

/** 车次管理 */
export default [
  {
    path: "/train-inventory-management",
    redirect: "/train-inventory/index",
    meta: {
      title: "车次管理",
      icon: traininventory,
      activeIcon: traininventory,
      sort: 9
    },
    children: [
      {
        path: "/train-inventory/index",
        name: "TrainInventory",
        component: () => import("@/views/train-inventory/index.vue"),
        meta: {
          title: "车次库存",
          icon: "",
          permission: [
            {
              path: "insert",
              label: "新增"
            },
            {
              path: "update",
              label: "修改"
            },
          ]
        },
      },
      {
        path: "/train-inventory-insert/index",
        name: "TrainInventoryInsert",
        component: () => import("@/views/train-inventory-insert/index.vue"),
        meta: {
          title: "添加车次库存",
          icon: "",
        },
      },
    ],
  },
];
